﻿@{
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>库存明细查询</title>
    @Html.Raw(WorkContext.ShopConfig.SEOKeyword)
    @Html.Raw(WorkContext.ShopConfig.SEODescription)
    <link href="@{@WorkContext.CSSCDN}/themes/default/css/base.css" rel="stylesheet" type="text/css" />
    <link href="@{@WorkContext.CSSCDN}/themes/default/css/help.css" rel="stylesheet" type="text/css" />
    <link href="@{@WorkContext.CSSCDN}/themes/default/css/content.css" rel="stylesheet" type="text/css" />
    <script src="@{@WorkContext.ScriptCDN}/scripts/jquery.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/scripts/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        uid = @WorkContext.Uid;
        isGuestSC = @WorkContext.ShopConfig.IsGuestSC;
        scSubmitType = @WorkContext.ShopConfig.SCSubmitType;
        $(function(){
            //$("#btnsearch").click(function(){
            //    var pid = $("#pid").val();
            //    if (pid == null || pid == "")
            //    {
            //        alert("请输入商品编号");
            //        return;
            //    }
            //    $.get("/catalog/AjaxProductStockList?pid=" + pid,function(data){
            //        $("#stockinfo").html(data);
            //    });
            //})
            $.get("/catalog/AjaxProductStockList?pid=" + @ViewData["PID"],function(data){
                $("#stockinfo").html(data);
            });

        })
    </script>
</head>
<style type="text/css">
    input, select {
        width: 280px;
        border: 1px solid #e33a3c;
        color: #1b0b0b;
        float: left;
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        outline: medium none;
        vertical-align: middle;
    }

    p {
        margin-top: 10px;
    }
</style>
<body>
    @Html.Partial("_header")
    <script type="text/javascript">
        $("#categorys").unbind();
        $("#categorysCon").removeClass("hide");
    </script>
    <div class="box">
        <div id="news" class="box">
            @*<p>请选择要查询的商品：</p>
            <p>
                @Html.DropDownList("pid", ViewData["produtList"] as List<SelectListItem>) 
            </p>
            <p>
                <dl class="choose">
                    <dd><a href="javascript:;" class="itme" id="btnsearch">查询</a></dd>
                </dl>
            </p>*@
            <div class="clear"></div>
            <p id="stockinfo"></p>
        </div>
    </div>

    @Html.Partial("_footer")
</body>
</html> 